package com.whq.thrift.api.web.admin.service.admin;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.admin.PermissionUri;
import com.whq.thrift.api.web.admin.db.admin.UserInfo;
import com.whq.thrift.api.web.admin.db.admin.UserMermission;

public interface PermissionUriService {
	public void addRecord(PermissionUri record);

	public List<PermissionUri> findRecordsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);

	public void updateRecord(PermissionUri record);

	public void deleteRecord(String id);

	public int findRecordCount(Map<String, Object> whereParams);

	public PermissionUri findRecordById(String id);
	
	public PermissionUri findRecordByUri(String id);
	
	public List<UserInfo> findUserInfoByMap();

	public List<UserMermission> findUserMermissionById(String id);

	public void delUserPermission(String id);

	public void addUserMermission(UserMermission record);

}
